﻿using CPPEI.ETL.DataServiceInterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ETL.Domain.DataVerification
{
    public interface IDataVerification
    {
        /// <summary>
        /// 验证对象是否符合要求
        /// </summary>
        /// <param name="row"></param>
        /// <returns></returns>
        bool Verify(Row row);
    }

    public interface IDataVerificationContext
    {
        void Open();

        void Close();
    }

    public interface IParameterize
    {
        Parameter[] Parameters { get; set; }
    }

    public class Parameter
    {
        public string Name { get; set; }
        public string Value { get; set; }
    }
}
